<script type='text/javascript'>
//yazıresimleri
function removeHtmlTag(strx, chop) {
        if (strx.indexOf("<") != -1) {
                var s = strx.split("<");
                for (var i = 0; i < s.length; i++) {
                        if (s[i].indexOf(">") != -1) {
                                s[i] = s[i].substring(s[i].indexOf(">") + 1, s[i].length)
                        }
                }
                strx = s.join("")
        }
        chop = (chop < strx.length - 1) ? chop : strx.length - 2;
        while (strx.charAt(chop - 1) != ' ' && strx.indexOf(' ', chop) != -1) chop++;
        strx = strx.substring(0, chop - 1);
        return strx + '...'
}

function masSummaryAndThumb(mas1, mas2) {
        var div = document.getElementById(mas1);
        var imgtag = "";
        var img = div.getElementsByTagName("img");
        var summ = 600;
        if (img.length >= 1) {
                imgtag = '<a href="' + mas2 + '"><span style="float:left; padding:0px 10px 5px 0px;"><img src="' + img[0].src + '" width="145px" height="180px"/></span></a>';
                summ = 600
        }
        var summary = imgtag + '<div class="entry">' + removeHtmlTag(div.innerHTML, summ) + '</div>';
        div.innerHTML = summary
}
//yaziresimleri

//yaziicinderesimbulma
imgr = new Array();
imgr[0] = "http://1.bp.blogspot.com/-QjSndGbF0No/T-Nt3HgKsDI/AAAAAAAAG9o/cN6_Oy306rc/s1600/no-video.gif";
showRandomImg = true;
aBold = true;
summaryPost = 400;
summaryTitle = 20;
numposts1 = 12;
numposts2 = 4;

function removeHtmlTag(strx, chop) {
        var s = strx.split("<");
        for (var i = 0; i < s.length; i++) {
                if (s[i].indexOf(">") != -1) {
                        s[i] = s[i].substring(s[i].indexOf(">") + 1, s[i].length)
                }
        }
        s = s.join("");
        s = s.substring(0, chop - 1);
        return s
}

function showrecentposts(json) {
        j = (showRandomImg) ? Math.floor((imgr.length + 1) * Math.random()) : 0;
        img = new Array();
        document.write('<ul>');
        for (var i = 0; i < numposts1; i++) {
                var entry = json.feed.entry[i];
                var posttitle = entry.title.$t;
                var pcm;
                var posturl;
                if (i == json.feed.entry.length) break;
                for (var k = 0; k < entry.link.length; k++) {
                        if (entry.link[k].rel == 'alternate') {
                                posturl = entry.link[k].href;
                                break
                        }
                }
                for (var k = 0; k < entry.link.length; k++) {
                        if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {
                                pcm = entry.link[k].title.split(" ")[0];
                                break
                        }
                }
                if ("content" in entry) {
                        var postcontent = entry.content.$t
                } else if ("summary" in entry) {
                        var postcontent = entry.summary.$t
                } else var postcontent = "";
                postdate = entry.published.$t;
                if (j > imgr.length - 1) j = 0;
                img[i] = imgr[j];
                s = postcontent;
                a = s.indexOf("<img");
                b = s.indexOf("src=\"", a);
                c = s.indexOf("\"", b + 5);
                d = s.substr(b + 5, c - b - 5);
                if ((a != -1) && (b != -1) && (c != -1) && (d != "")) img[i] = d;
                var month = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
                var month2 = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
                var day = postdate.split("-")[2].substring(0, 2);
                var m = postdate.split("-")[1];
                var y = postdate.split("-")[0];
                for (var u2 = 0; u2 < month.length; u2++) {
                        if (parseInt(m) == month[u2]) {
                                m = month2[u2];
                                break
                        }
                }
                var daystr = day + ' ' + m + ' ' + y;
                var trtd = '<li class="car"><div class="thumb"><a href="' + posturl + '"><img width="124" height="160" class="alignnone" src="' + img[i] + '"/></a></div><a class="slider_title" href="' + posturl + '">' + posttitle + '</a></li>';
                document.write(trtd);
                j++
        }
        document.write('</ul>')
}

function showrecentposts1(json) {
        j = (showRandomImg) ? Math.floor((imgr.length + 1) * Math.random()) : 0;
        img = new Array();
        if (numposts2 <= json.feed.entry.length) {
                maxpost = numposts2
        } else {
                maxpost = json.feed.entry.length
        }
        for (var i = 0; i < maxpost; i++) {
                var entry = json.feed.entry[i];
                var posttitle = entry.title.$t;
                var pcm;
                var posturl;
                if (i == json.feed.entry.length) break;
                for (var k = 0; k < entry.link.length; k++) {
                        if (entry.link[k].rel == 'alternate') {
                                posturl = entry.link[k].href;
                                break
                        }
                }
                for (var k = 0; k < entry.link.length; k++) {
                        if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {
                                pcm = entry.link[k].title.split(" ")[0];
                                break
                        }
                }
                if ("content" in entry) {
                        var postcontent = entry.content.$t
                } else if ("summary" in entry) {
                        var postcontent = entry.summary.$t
                } else var postcontent = "";
                postdate = entry.published.$t;
                if (j > imgr.length - 1) j = 0;
                img[i] = imgr[j];
                s = postcontent;
                a = s.indexOf("<img");
                b = s.indexOf("src=\"", a);
                c = s.indexOf("\"", b + 5);
                d = s.substr(b + 5, c - b - 5);
                if ((a != -1) && (b != -1) && (c != -1) && (d != "")) img[i] = d;
                var month = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
                var month2 = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
                var day = postdate.split("-")[2].substring(0, 2);
                var m = postdate.split("-")[1];
                var y = postdate.split("-")[0];
                for (var u2 = 0; u2 < month.length; u2++) {
                        if (parseInt(m) == month[u2]) {
                                m = month2[u2];
                                break
                        }
                }
                var daystr = day + ' ' + m + ' ' + y;
                pcm = '<a href="' + posturl + '">' + pcm + ' comments</a>';
                var trtd = '<div class="col_maskolis"><h2 class="posttitle"><a href="' + posturl + '">' + posttitle + '</a></h2><a href="' + posturl + '"><img class="maskolis_img" src="' + img[i] + '"/></a><div class="clear"></div></div>';
                document.write(trtd);
                j++
        }
}
var relatedTitles = new Array();
var relatedTitlesNum = 0;
var relatedUrls = new Array();
var thumburl = new Array();

function related_results_labels_thumbs(json) {
        for (var i = 0; i < json.feed.entry.length; i++) {
                var entry = json.feed.entry[i];
                relatedTitles[relatedTitlesNum] = entry.title.$t;
                try {
                        thumburl[relatedTitlesNum] = entry.gform_foot.url
                } catch (error) {
                        s = entry.content.$t;
                        a = s.indexOf("<img");
                        b = s.indexOf("src=\"", a);
                        c = s.indexOf("\"", b + 5);
                        d = s.substr(b + 5, c - b - 5);
                        if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
                                thumburl[relatedTitlesNum] = d
                        } else thumburl[relatedTitlesNum] = 'http://1.bp.blogspot.com/-QjSndGbF0No/T-Nt3HgKsDI/AAAAAAAAG9o/cN6_Oy306rc/s1600/no-video.gif'
                }
                if (relatedTitles[relatedTitlesNum].length > 35) relatedTitles[relatedTitlesNum] = relatedTitles[relatedTitlesNum].substring(0, 35) + "...";
                for (var k = 0; k < entry.link.length; k++) {
                        if (entry.link[k].rel == 'alternate') {
                                relatedUrls[relatedTitlesNum] = entry.link[k].href;
                                relatedTitlesNum++
                        }
                }
        }
}

function removeRelatedDuplicates_thumbs() {
        var tmp = new Array(0);
        var tmp2 = new Array(0);
        var tmp3 = new Array(0);
        for (var i = 0; i < relatedUrls.length; i++) {
                if (!contains_thumbs(tmp, relatedUrls[i])) {
                        tmp.length += 1;
                        tmp[tmp.length - 1] = relatedUrls[i];
                        tmp2.length += 1;
                        tmp3.length += 1;
                        tmp2[tmp2.length - 1] = relatedTitles[i];
                        tmp3[tmp3.length - 1] = thumburl[i]
                }
        }
        relatedTitles = tmp2;
        relatedUrls = tmp;
        thumburl = tmp3
}

function contains_thumbs(a, e) {
        for (var j = 0; j < a.length; j++) if (a[j] == e) return true;
        return false
}

function printRelatedLabels_thumbs() {
        for (var i = 0; i < relatedUrls.length; i++) {
                if ((relatedUrls[i] == currentposturl) || (!(relatedTitles[i]))) {
                        relatedUrls.splice(i, 1);
                        relatedTitles.splice(i, 1);
                        thumburl.splice(i, 1);
                        i--
                }
        }
        var r = Math.floor((relatedTitles.length - 1) * Math.random());
        var i = 0;
        if (relatedTitles.length > 0) document.write('<h1>' + relatedpoststitle + '</h1>');
        document.write('<div style="clear: both;"/>');
        while (i < relatedTitles.length && i < 20 && i < maxresults) {
                document.write('<a style="text-decoration:none;margin:0 10px 10px 0;float:left;background:#e6e6e6 url(http://4.bp.blogspot.com/-PE4DGGi62Rc/UAV05DVyMbI/AAAAAAAAHrQ/acf9emv3Od4/s1600/bar-bg2.png) repeat-x top;border:1px solid #c9c9c9;');
                if (i != 0) document.write('"');
                else document.write('"');
                document.write(' href="' + relatedUrls[r] + '"><img class="maskolis_img" src="' + thumburl[r] + '"/><br/><div style="width:132px;padding:0 10px;color:#222;height:38px;text-align:center;margin:0px 0px; font:12px Oswald; line-height:16px;text-shadow:0 2px 2px #fff">' + relatedTitles[r] + '</div></a>');
                if (r < relatedTitles.length - 1) {
                        r++
                } else {
                        r = 0
                }
                i++
        }
        document.write('</div>');
        relatedUrls.splice(0, relatedUrls.length);
        thumburl.splice(0, thumburl.length);
        relatedTitles.splice(0, relatedTitles.length)
}
//yaziicinderesimbulma

//benzeryazılar
var currentposturl=&quot;<data:post.url/>&quot;;
var maxresults=8;
var relatedpoststitle=&quot;<b>İzlemek İstersen Benzer Kanallar :</b>&quot;;
removeRelatedDuplicates_thumbs();
printRelatedLabels_thumbs();
//benzeryazılar

//yorumlar
(function() {
var items = <data:post.commentJso/>;
var msgs = <data:post.commentMsgs/>;
var config = <data:post.commentConfig/>;

var cursor = null;
if (items && items.length > 0) {
cursor = parseInt(items[items.length - 1].timestamp) + 1;
}
 
var bodyFromEntry = function(entry) {
if (entry.gd$extendedProperty) {
for (var k in entry.gd$extendedProperty) {
if (entry.gd$extendedProperty[k].name == 'blogger.contentRemoved') {
return '<span class="deleted-comment">' + entry.content.$t + '</span>';
}
}
}
return entry.content.$t;
}
 
var parse = function(data) {
cursor = null;
var comments = [];
if (data && data.feed && data.feed.entry) {
for (var i = 0, entry; entry = data.feed.entry[i]; i++) {
var comment = {};
// comment ID, parsed out of the original id format
var id = /blog-(\d+).post-(\d+)/.exec(entry.id.$t);
comment.id = id ? id[2] : null;
comment.body = bodyFromEntry(entry);
comment.timestamp = Date.parse(entry.published.$t) + '';
if (entry.author && entry.author.constructor === Array) {
var auth = entry.author[0];
if (auth) {
comment.author = {
name: (auth.name ? auth.name.$t : undefined),
profileUrl: (auth.uri ? auth.uri.$t : undefined),
avatarUrl: (auth.gd$image ? auth.gd$image.src : undefined)
};
}
}
if (entry.link) {
if (entry.link[2]) {
comment.link = comment.permalink = entry.link[2].href;
}
if (entry.link[3]) {
var pid = /.*comments\/default\/(\d+)\?.*/.exec(entry.link[3].href);
if (pid && pid[1]) {
comment.parentId = pid[1];
}
}
}
comment.deleteclass = 'item-control blog-admin';
if (entry.gd$extendedProperty) {
for (var k in entry.gd$extendedProperty) {
if (entry.gd$extendedProperty[k].name == 'blogger.itemClass') {
comment.deleteclass += ' ' + entry.gd$extendedProperty[k].value;
}
}
}
comments.push(comment);
}
}
return comments;
};
 
var paginator = function(callback) {
if (hasMore()) {
var url = config.feed + '?alt=json&v=2&orderby=published&reverse=false&max-results=50';
if (cursor) {
url += '&published-min=' + new Date(cursor).toISOString();
}
window.bloggercomments = function(data) {
var parsed = parse(data);
cursor = parsed.length < 50 ? null
: parseInt(parsed[parsed.length - 1].timestamp) + 1
callback(parsed);
window.bloggercomments = null;
}
url += '&callback=bloggercomments';
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = url;
document.getElementsByTagName('head')[0].appendChild(script);
}
};
var hasMore = function() {
return !!cursor;
};
var getMeta = function(key, comment) {
if ('iswriter' == key) {
var matches = !!comment.author
&& comment.author.name == config.authorName
&& comment.author.profileUrl == config.authorUrl;
return matches ? 'true' : '';
} else if ('deletelink' == key) {
return config.baseUri + '/delete-comment.g?blogID='
+ config.blogId + '&postID=' + comment.id;
} else if ('deleteclass' == key) {
return comment.deleteclass;
}
return '';
};
 
var replybox = null;
var replyUrlParts = null;
var replyParent = undefined;
 
var onReply = function(commentId, domId) {
if (replybox == null) {
// lazily cache replybox, and adjust to suit this style:
replybox = document.getElementById('comment-editor');
if (replybox != null) {
replybox.height = '250px';
replybox.style.display = 'block';
replyUrlParts = replybox.src.split('#');
}
}
if (replybox && (commentId !== replyParent)) {
document.getElementById(domId).insertBefore(replybox, null);
replybox.src = replyUrlParts[0]
+ (commentId ? '&parentID=' + commentId : '')
+ '#' + replyUrlParts[1];
replyParent = commentId;
}
};
 
var hash = (window.location.hash || '#').substring(1);
var startThread, targetComment;
if (/^comment-form_/.test(hash)) {
startThread = hash.substring('comment-form_'.length);
} else if (/^c[0-9]+$/.test(hash)) {
targetComment = hash.substring(1);
}
 
// Configure commenting API:
var configJso = {
'maxDepth': config.maxThreadDepth
};
var provider = {
'id': config.postId,
'data': items,
'loadNext': paginator,
'hasMore': hasMore,
'getMeta': getMeta,
'onReply': onReply,
'rendered': true,
'initComment': targetComment,
'initReplyThread': startThread,
'config': configJso,
'messages': msgs
};
 
var render = function() {
if (window.goog && window.goog.comments) {
var holder = document.getElementById('comment-holder');
window.goog.comments.render(holder, provider);
}
};
 
// render now, or queue to render when library loads:
if (window.goog && window.goog.comments) {
render();
} else {
window.goog = window.goog || {};
window.goog.comments = window.goog.comments || {};
window.goog.comments.loadQueue = window.goog.comments.loadQueue || [];
window.goog.comments.loadQueue.push(render);
}
})();
//yorumlar

//sayfanavigasyon2
var pageCount=8;
var displayPageNum=6;
var upPageWord =&#39;Önceki&#39;;
var downPageWord =&#39;Sonraki&#39;;
//sayfanavigasyon2

//sayfanavigasyon
function showpageCount(n) {
        var h = home_page_url;
        var f = new Array();
        var m = 1;
        var c = 1;
        var q = 0;
        var s = 0;
        var d = 0;
        var e = "";
        var a = "";
        var o = "";
        for (var l = 0, k; k = n.feed.entry[l]; l++) {
                var r = k.published.$t.substring(0, 19) + k.published.$t.substring(23, 29);
                timestamp = encodeURIComponent(r);
                var t = k.title.$t;
                if (t != "") {
                        if (q == 0 || (q % pageCount == (pageCount - 1))) {
                                if (h.indexOf(timestamp) != -1) {
                                        m = c
                                }
                                if (t != "") {
                                        c++
                                }
                                f[f.length] = "/search?updated-max=" + timestamp + "&max-results=" + pageCount
                        }
                }
                q++
        }
        for (var g = 0; g < f.length; g++) {
                if (g >= (m - displayPageNum - 1) && g < (m + displayPageNum)) {
                        if (s == 0 && g == m - 2) {
                                if (m == 2) {
                                        a = '<span class="showpage"><a href="/">' + upPageWord + "</a></span>"
                                } else {
                                        a = '<span class="showpage"><a href="' + f[g] + '">' + upPageWord + "</a></span>"
                                }
                                s++
                        }
                        if (g == (m - 1)) {
                                e += '<span class="showpagePoint">' + m + "</span>"
                        } else {
                                if (g == 0) {
                                        e += '<span class="showpageNum"><a href="/">1</a></span>'
                                } else {
                                        e += '<span class="showpageNum"><a href="' + f[g] + '">' + (g + 1) + "</a></span>"
                                }
                        }
                        if (d == 0 && g == m) {
                                o = '<span class="showpage"> <a href="' + f[g] + '">' + downPageWord + "</a></span>";
                                d++
                        }
                }
        }
        if (m > 1) {
                e = "" + a + " " + e + " "
        }
        e = '<div class="showpageArea"><span style="COLOR: #333333;" class="showpageOf">Pages (' + (c - 1) + ")</span>" + e;
        if (m < (c - 1)) {
                e += o
        }
        if (c == 1) {
                c++
        }
        e += "</div>";
        var b = document.getElementsByName("pageArea");
        var j = document.getElementById("blog-pager");
        if (c <= 2) {
                e = ""
        }
        for (var g = 0; g < b.length; g++) {
                b[g].innerHTML = e
        }
        if (b && b.length > 0) {
                e = ""
        }
        if (j) {
                j.innerHTML = e
        }
}

function showpageCount2(r) {
        var l = home_page_url;
        var k = new Array();
        var g = l.indexOf("/search/label/") != -1;
        var d = g ? l.substr(l.indexOf("/search/label/") + 14, l.length) : "";
        d = d.indexOf("?") != -1 ? d.substr(0, d.indexOf("?")) : d;
        var q = 1;
        var e = 1;
        var t = 0;
        var v = 0;
        var f = 0;
        var h = "";
        var a = "";
        var s = "";
        var c = '<span class="showpageNum"><a href="/search/label/' + d + "?&max-results=" + pageCount + '">';
        var l = home_page_url;
        for (var o = 0, n; n = r.feed.entry[o]; o++) {
                var u = n.published.$t.substring(0, 19) + n.published.$t.substring(23, 29);
                timestamp = encodeURIComponent(u);
                var w = n.title.$t;
                if (w != "") {
                        if (t == 0 || (t % pageCount == (pageCount - 1))) {
                                if (l.indexOf(timestamp) != -1) {
                                        q = e
                                }
                                if (w != "") {
                                        e++
                                }
                                k[k.length] = "/search/label/" + d + "?updated-max=" + timestamp + "&max-results=" + pageCount
                        }
                }
                t++
        }
        for (var j = 0; j < k.length; j++) {
                if (j >= (q - displayPageNum - 1) && j < (q + displayPageNum)) {
                        if (v == 0 && j == q - 2) {
                                if (q == 2) {
                                        a = c + upPageWord + "</a></span>"
                                } else {
                                        a = '<span class="showpage"><a href="' + k[j] + '">' + upPageWord + "</a></span>"
                                }
                                v++
                        }
                        if (j == (q - 1)) {
                                h += '<span class="showpagePoint">' + q + "</span>"
                        } else {
                                if (j == 0) {
                                        h = c + "1</a></span>"
                                } else {
                                        h += '<span class="showpageNum"><a href="' + k[j] + '">' + (j + 1) + "</a></span>"
                                }
                        }
                        if (f == 0 && j == q) {
                                s = '<span class="showpage"> <a href="' + k[j] + '">' + downPageWord + "</a></span>";
                                f++
                        }
                }
        }
        if (q > 1) {
                if (!g) {
                        h = "" + a + " " + h + " "
                } else {
                        h = "" + a + " " + h + " "
                }
        }
        h = '<div class="showpageArea"><span style="COLOR: #333333;" class="showpageOf">Pages (' + (e - 1) + ")</span>" + h;
        if (q < (e - 1)) {
                h += s
        }
        if (e == 1) {
                e++
        }
        h += "</div>";
        var b = document.getElementsByName("pageArea");
        var m = document.getElementById("blog-pager");
        if (e <= 2) {
                h = ""
        }
        for (var j = 0; j < b.length; j++) {
                b[j].innerHTML = h
        }
        if (b && b.length > 0) {
                h = ""
        }
        if (m) {
                m.innerHTML = h
        }
}
var home_page_url = location.href;
var thisUrl = home_page_url;
if (thisUrl.indexOf("/search/label/") != -1) {
        if (thisUrl.indexOf("?updated-max") != -1) {
                var lblname1 = thisUrl.substring(thisUrl.indexOf("/search/label/") + 14, thisUrl.indexOf("?updated-max"))
        } else {
                var lblname1 = thisUrl.substring(thisUrl.indexOf("/search/label/") + 14, thisUrl.indexOf("?&max"))
        }
}
var home_page = "/";
if (thisUrl.indexOf("?q=") == -1) {
        if (thisUrl.indexOf("/search/label/") == -1) {
                document.write('<script src="' + home_page + 'feeds/posts/summary?alt=json-in-script&callback=showpageCount&max-results=99999" ><\/script>')
        } else {
                document.write('<script src="' + home_page + "feeds/posts/full/-/" + lblname1 + '?alt=json-in-script&callback=showpageCount2&max-results=99999" ><\/script>')
        }
};
//sayfanavigasyon

//yorumkutusu
var Cur_Url_ThreadCM = window.location.href;
var Cm_Block = document.getElementById('cm_block');
var Cm_Block_Content = Cm_Block.innerHTML;
var Cm_Item_Id = [];
var Cm_Item_Content = [];
var Cm_Item_Level = [];
var Cm_Num = 0;
var Cm_Item_Id_T = '';
var Cm_Item_Content_T = '';
var Cm_Item_Level_T = '';
var i = 0;
var j = 0;
var k = 0;
var h = 0;
var strout = '';
var str_t1 = "";
var str_t2 = "";

function getInternetExplorerVersion() {
        var rv = -1;
        if (navigator.appName == 'Microsoft Internet Explorer') {
                var ua = navigator.userAgent;
                var re = new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");
                if (re.exec(ua) != null) rv = parseFloat(RegExp.$1)
        }
        return rv
}
var IE_ver = getInternetExplorerVersion();
if (IE_ver == -1 || IE_ver >= 9) {
        while (Cm_Block_Content.indexOf('id="c') != -1) {
                i = Cm_Block_Content.indexOf('id="c');
                Cm_Block_Content = Cm_Block_Content.substring(i + 4);
                i = Cm_Block_Content.indexOf('"');
                Cm_Item_Id[Cm_Num] = Cm_Block_Content.substring(0, i);
                Cm_Block_Content = Cm_Block_Content.substring(i);
                Cm_Item_Content[Cm_Num] = document.getElementById(Cm_Item_Id[Cm_Num]).innerHTML;
                Cm_Item_Level[Cm_Num] = 0;
                Cm_Num++
        }
        for (i = 0; i < Cm_Num - 1; i++) {
                for (j = i + 1; j < Cm_Num; j++) {
                        if (Cm_Item_Content[j].indexOf(Cm_Item_Id[i]) != -1) {
                                Cm_Item_Id_T = Cm_Item_Id[j];
                                Cm_Item_Content_T = Cm_Item_Content[j];
                                Cm_Item_Level[j] = Cm_Item_Level[i] + 1;
                                Cm_Item_Level_T = Cm_Item_Level[j];
                                for (h = i + 1; h < j; h++) {
                                        if (Cm_Item_Level[h] < Cm_Item_Level_T) {
                                                break
                                        }
                                }
                                for (k = j; k > h; k = k - 1) {
                                        Cm_Item_Id[k] = Cm_Item_Id[k - 1];
                                        Cm_Item_Content[k] = Cm_Item_Content[k - 1];
                                        Cm_Item_Level[k] = Cm_Item_Level[k - 1]
                                }
                                Cm_Item_Id[h] = Cm_Item_Id_T;
                                Cm_Item_Content[h] = Cm_Item_Content_T;
                                Cm_Item_Level[h] = Cm_Item_Level_T
                        }
                }
        }
        for (i = 0; i < Cm_Num; i++) {
                j = Cm_Item_Content[i].indexOf('@<a href="#c');
                if (j != -1) {
                        str_t1 = Cm_Item_Content[i].substring(0, j);
                        str_t2 = Cm_Item_Content[i].substring(j + 1);
                        j = str_t2.indexOf('</a>');
                        str_t2 = str_t2.substring(j + 4);
                        Cm_Item_Content[i] = str_t1 + str_t2
                }
                j = Cm_Item_Content[i].indexOf('class="cm_wrap"');
                if (j != -1) {
                        str_t1 = Cm_Item_Content[i].substring(0, j);
                        str_t2 = Cm_Item_Content[i].substring(j);
                        if (Cm_Item_Level[i] > 6) Cm_Item_Level[i] = 6;
                        Cm_Item_Content[i] = str_t1 + 'style="width:' + (100 - Cm_Item_Level[i] * 5) + '%" ' + str_t2
                }
                strout += Cm_Item_Content[i]
        }
        strout += '<div class="clear"></div>';
        Cm_Block.innerHTML = strout;
        Cm_Block.style.display = 'block';
        var Cm_Total_Obj = document.getElementById('cm_total').innerHTML;
        var Cm_Total = parseInt(Cm_Total_Obj);
        if (Cm_Total > 200) {
                strout = '<div style="float:left">Page ';
                var Cm_Page_Num = (Cm_Total - Cm_Total % 200) / 200 + 1;
                var Org_Url_ThreadCM = '';
                var Cm_Cur_Page = 1;
                i = Cur_Url_ThreadCM.indexOf('.html');
                if (i != -1) {
                        Org_Url_ThreadCM = Cur_Url_ThreadCM.substring(0, i + 5)
                } else {
                        Org_Url_ThreadCM = Cur_Url_ThreadCM
                }
                i = Org_Url_ThreadCM.indexOf('#comments');
                if (i != -1) {
                        Org_Url_ThreadCM = Org_Url_ThreadCM.substring(0, i)
                }
                i = Cur_Url_ThreadCM.indexOf('?commentPage=');
                if (i == -1) {
                        Cm_Cur_Page = 1
                } else {
                        Cm_Cur_Page = parseInt(Cur_Url_ThreadCM.substring(i + 13))
                }
                for (i = 1; i <= Cm_Page_Num; i++) {
                        if (i == Cm_Cur_Page) {
                                strout += '<span>' + i + '</span>'
                        } else {
                                strout += '<a href="' + Org_Url_ThreadCM + '?commentPage=' + i + '#comments">' + i + '</a>'
                        }
                }
                if (Cm_Cur_Page * 200 <= Cm_Total) {
                        strout += '</div><div style="float:right">' + (((Cm_Cur_Page - 1) * 200) + 1) + ' - ' + (Cm_Cur_Page * 200) + ' of ' + Cm_Total + ' comments</div>'
                } else {
                        strout += '</div><div style="float:right">' + (((Cm_Cur_Page - 1) * 200) + 1) + ' - ' + Cm_Total + ' of ' + Cm_Total + ' comments</div>'
                }
                var Cm_Page_Obj = document.getElementById('cm_page');
                Cm_Page_Obj.innerHTML = strout;
                Cm_Page_Obj = document.getElementById('cm_page_copy');
                Cm_Page_Obj.innerHTML = strout;
                if (Cm_Cur_Page < Cm_Page_Num) {
                        strout = '<style type="text/css">.cm_author_reply {display: none}</style>';
                        var Cm_ReplyCSS_Obj = document.getElementById('cm_reply_css');
                        Cm_ReplyCSS_Obj.innerHTML = strout
                }
        }
} else {
        while (Cm_Block_Content.indexOf('id=c') != -1) {
                i = Cm_Block_Content.indexOf('id=c');
                Cm_Block_Content = Cm_Block_Content.substring(i + 3);
                i = Cm_Block_Content.indexOf('>');
                Cm_Item_Id[Cm_Num] = Cm_Block_Content.substring(0, i);
                Cm_Block_Content = Cm_Block_Content.substring(i);
                Cm_Item_Content[Cm_Num] = document.getElementById(Cm_Item_Id[Cm_Num]).innerHTML;
                Cm_Item_Level[Cm_Num] = 0;
                Cm_Num++
        }
        for (i = 0; i < Cm_Num - 1; i++) {
                for (j = i + 1; j < Cm_Num; j++) {
                        if (Cm_Item_Content[j].indexOf(Cm_Item_Id[i]) != -1) {
                                Cm_Item_Id_T = Cm_Item_Id[j];
                                Cm_Item_Content_T = Cm_Item_Content[j];
                                Cm_Item_Level[j] = Cm_Item_Level[i] + 1;
                                Cm_Item_Level_T = Cm_Item_Level[j];
                                for (h = i + 1; h < j; h++) {
                                        if (Cm_Item_Level[h] < Cm_Item_Level_T) {
                                                break
                                        }
                                }
                                for (k = j; k > h; k = k - 1) {
                                        Cm_Item_Id[k] = Cm_Item_Id[k - 1];
                                        Cm_Item_Content[k] = Cm_Item_Content[k - 1];
                                        Cm_Item_Level[k] = Cm_Item_Level[k - 1]
                                }
                                Cm_Item_Id[h] = Cm_Item_Id_T;
                                Cm_Item_Content[h] = Cm_Item_Content_T;
                                Cm_Item_Level[h] = Cm_Item_Level_T
                        }
                }
        }
        for (i = 0; i < Cm_Num; i++) {
                j = Cm_Item_Content[i].indexOf('@<A href="#c');
                if (j != -1) {
                        str_t1 = Cm_Item_Content[i].substring(0, j);
                        str_t2 = Cm_Item_Content[i].substring(j + 1);
                        j = str_t2.indexOf('</A>');
                        str_t2 = str_t2.substring(j + 4);
                        Cm_Item_Content[i] = str_t1 + str_t2
                }
                j = Cm_Item_Content[i].indexOf('class=cm_wrap');
                if (j != -1) {
                        str_t1 = Cm_Item_Content[i].substring(0, j);
                        str_t2 = Cm_Item_Content[i].substring(j);
                        if (Cm_Item_Level[i] > 6) Cm_Item_Level[i] = 6;
                        Cm_Item_Content[i] = str_t1 + 'style="width:' + (100 - Cm_Item_Level[i] * 5) + '%" ' + str_t2
                }
                strout += Cm_Item_Content[i]
        }
        strout += '<div class="clear"></div>';
        Cm_Block.innerHTML = strout;
        Cm_Block.style.display = 'block';
        var Cm_Total_Obj = document.getElementById('cm_total').innerHTML;
        var Cm_Total = parseInt(Cm_Total_Obj);
        if (Cm_Total > 200) {
                strout = '<div style="float:left">Page ';
                var Cm_Page_Num = (Cm_Total - Cm_Total % 200) / 200 + 1;
                var Org_Url_ThreadCM = '';
                var Cm_Cur_Page = 1;
                i = Cur_Url_ThreadCM.indexOf('.html');
                if (i != -1) {
                        Org_Url_ThreadCM = Cur_Url_ThreadCM.substring(0, i + 5)
                } else {
                        Org_Url_ThreadCM = Cur_Url_ThreadCM
                }
                i = Org_Url_ThreadCM.indexOf('#comments');
                if (i != -1) {
                        Org_Url_ThreadCM = Org_Url_ThreadCM.substring(0, i)
                }
                i = Cur_Url_ThreadCM.indexOf('?commentPage=');
                if (i == -1) {
                        Cm_Cur_Page = 1
                } else {
                        Cm_Cur_Page = parseInt(Cur_Url_ThreadCM.substring(i + 13))
                }
                for (i = 1; i <= Cm_Page_Num; i++) {
                        if (i == Cm_Cur_Page) {
                                strout += '<span>' + i + '</span>'
                        } else {
                                strout += '<a href="' + Org_Url_ThreadCM + '?commentPage=' + i + '#comments">' + i + '</a>'
                        }
                }
                if (Cm_Cur_Page * 200 <= Cm_Total) {
                        strout += '</div><div style="float:right">' + (((Cm_Cur_Page - 1) * 200) + 1) + ' - ' + (Cm_Cur_Page * 200) + ' of ' + Cm_Total + ' comments</div>'
                } else {
                        strout += '</div><div style="float:right">' + (((Cm_Cur_Page - 1) * 200) + 1) + ' - ' + Cm_Total + ' of ' + Cm_Total + ' comments</div>'
                }
                var Cm_Page_Obj = document.getElementById('cm_page');
                Cm_Page_Obj.innerHTML = strout;
                Cm_Page_Obj = document.getElementById('cm_page_copy');
                Cm_Page_Obj.innerHTML = strout;
                if (Cm_Cur_Page < Cm_Page_Num) {
                        strout = '<style type="text/css">.cm_author_reply {display: none}</style>';
                        var Cm_ReplyCSS_Obj = document.getElementById('cm_reply_css');
                        Cm_ReplyCSS_Obj.innerHTML = strout
                }
        }
}
//yorumkutusu

//postpopular
function postpopular(img,size){
var popular = document.getElementById(img);
var enlarge = popular.innerHTML;
popular.innerHTML = enlarge.replace(/s72-c/g,&quot;s&quot;+size+&quot;&quot;);
var imagenes = popular.getElementsByTagName(&quot;img&quot;);
for(var i=0;i&lt;imagenes.length;i++){ imagenes[i].width = size; imagenes[i].height = size; }
}
postpopular(&quot;BlogList1&quot;,112);
postpopular(&quot;PopularPosts1&quot;,112);
postpopular(&quot;PopularPosts2&quot;,112);
//postpopular

</script>